package biz.inspeed.test.mina.android;

/****
 * 定义一些常量
 * 
 * @author NKY(ACNTWWW@GMAIL.COM) 2012-8-21
 */
public final class Constants
{
	/** 服务器地址 */
	public static final String	HOST								= "192.168.0.253";
	/** 服务器端口 */
	public static final int		PORT								= 0xbeef;

	public static final int		TIMEOUT								= 10;
	public static final int		PACKET_STATUS_NO_HANDLE				= 0;

	public static final int		PACKET_STATUS_START_SEND			= 1;

	public static final int		PACKET_STATUS_WAIT_RESPONSE			= 2;

	public static final int		PACKET_STATUS_SEND_SUCCESS			= 3;

	public static final int		PACKET_STATUS_SEND_FAILED			= 4;

	public static final int		HEAD_COMMAND_NUM_REQUEST			= 90000;

	public static final int		HEAD_COMMAND_NUM_RESPONSE			= 80000;

	public static final int		HEAD_COMMAND_NUM_HEART				= 70000;

	public static final int		HEAD_COMMAND_LEVEL_NO_NEED_RESPONSE	= 1987600;
	
	public static final int		HEAD_COMMAND_LEVEL_NEED_RESPONSE	= 1987601;
	
	public static final int		HEAD_COMMAND_LEVEL_MUST_RESPONSE	= 1987602;
	
}
